package com.sitech.openapi.domain.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "TermInst",description = "终端实例")
public class TermInst implements Serializable {

    private static final long serialVersionUID = 1L;

    // 营销资源实例的标识，主键
    @ApiModelProperty(value = "营销资源实例标识")
    private	Long	mktResInstId	;

    // 记录营销资源实例编码。
    @ApiModelProperty(value = "营销资源实例编码")
    private	String	mktResInstNbr	;

    // 营销资源实例的销售价格
    @ApiModelProperty(value = "零售价格")
    private	Long	salesPrice	;

    // 记录本地网标识。
    @ApiModelProperty(value = "本地网标识")
    private	Long	lanId	;

    // dateTime记录状态变更的时间。
    @ApiModelProperty(value = "状态时间")
    private	String	statusDate	;

    // 记录状态。参见RES-0008	营销资源实例状态
    @ApiModelProperty(value = "状态")
    private	String	statusCd	;

    // 记录营销资源标识
    @ApiModelProperty(value = "营销资源标识")
    private	Long	mktResId	;

    // 营销资源编码
    @ApiModelProperty(value = "营销资源编码")
    private	String	mktResNbr	;

    // 营销资源类别编码
    @ApiModelProperty(value = "营销资源类别编码")
    private	String	mktResTypeNbr	;

    // 记录营销资源仓库标识
    @ApiModelProperty(value = "营销资源仓库标识")
    private	Long	mktResStoreId	;

    // 引用一组子资TermInstAttr
    @ApiModelProperty(value = "营销资源实例属性")
    private List<TermInstAttr> termInstAttrs	;

    public Long getMktResInstId() {
        return mktResInstId;
    }

    public void setMktResInstId(Long mktResInstId) {
        this.mktResInstId = mktResInstId;
    }

    public String getMktResInstNbr() {
        return mktResInstNbr;
    }

    public void setMktResInstNbr(String mktResInstNbr) {
        this.mktResInstNbr = mktResInstNbr;
    }

    public Long getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(Long salesPrice) {
        this.salesPrice = salesPrice;
    }

    public Long getLanId() {
        return lanId;
    }

    public void setLanId(Long lanId) {
        this.lanId = lanId;
    }

    public String getStatusDate() {
        return statusDate;
    }

    public void setStatusDate(String statusDate) {
        this.statusDate = statusDate;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public Long getMktResId() {
        return mktResId;
    }

    public void setMktResId(Long mktResId) {
        this.mktResId = mktResId;
    }

    public String getMktResNbr() {
        return mktResNbr;
    }

    public void setMktResNbr(String mktResNbr) {
        this.mktResNbr = mktResNbr;
    }

    public String getMktResTypeNbr() {
        return mktResTypeNbr;
    }

    public void setMktResTypeNbr(String mktResTypeNbr) {
        this.mktResTypeNbr = mktResTypeNbr;
    }

    public Long getMktResStoreId() {
        return mktResStoreId;
    }

    public void setMktResStoreId(Long mktResStoreId) {
        this.mktResStoreId = mktResStoreId;
    }

    public List<TermInstAttr> getTermInstAttrs() {
        return termInstAttrs;
    }

    public void setTermInstAttrs(List<TermInstAttr> termInstAttrs) {
        this.termInstAttrs = termInstAttrs;
    }

    @Override
    public String toString() {
        return "TermInst{" +
                "mktResInstId=" + mktResInstId +
                ", mktResInstNbr='" + mktResInstNbr + '\'' +
                ", salesPrice=" + salesPrice +
                ", lanId=" + lanId +
                ", statusDate='" + statusDate + '\'' +
                ", statusCd='" + statusCd + '\'' +
                ", mktResId=" + mktResId +
                ", mktResNbr='" + mktResNbr + '\'' +
                ", mktResTypeNbr='" + mktResTypeNbr + '\'' +
                ", mktResStoreId=" + mktResStoreId +
                ", termInstAttrs=" + termInstAttrs +
                '}';
    }
}
